<%--
  Created by IntelliJ IDEA.
  User: WuLiangHang
  Date: 2022/3/3
  Time: 10:07
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>代码脚本</title>
</head>
<body>
<%
    int age = 10;

    if (age >= 18) {
%>
<h1>在线发牌</h1>
<%
} else {
%>
<h1>小猪佩奇</h1>
<%
    }
%>

<%
    for (int i = 1; i <= 10; i++) {
%>
<h1><%=i%>
</h1>
<%
    }
%>

<%
    int j = 0;
    while (j < 10) {
%>
<%=j%>
<%
        j++;
    }
%>
<br/>
<%
    for (int i = 1; i < 10; i++) {
        for (int k = 1; k <= i; k++) {
%>
<%=k%> * <%=i%> = <%=k * i%>
<%
    }
%>
<br/>
<%
    }
%>
</body>
</html>
